package cn.qicaiwang.open.app.server;

import cn.qicaiwang.open.app.entity.Enterprise;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface  EnterpriseService {
    List<Map<String, Object>> fuzzySearchByName(String enterpriseName, String province);

    Page<Enterprise> pageList(Page page, String province,Enterprise enterprise );

    Boolean save(Enterprise enterprise);

    boolean removeById(Long id);

    boolean update(Enterprise enterprise);

    List<Map<String, Object>> enterpriseInfo(Enterprise enterprise, String province);

    Enterprise  fuzzySearchByNsrsbh(String nsrsbh, String base);
}